#pragma once
#include <iostream>
#include <stdlib.h>
#include <assert.h>

using std::cout;
using std::endl;

struct Stack {
public:
	void Init();
	int Size();
	void Push(int x);
	void Pop();
	int Top();
	void Destroy();
	void Print();
private:
	int* a;
	int top;
	int capacity;
};


